home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11177 < prev    next >
Encoding:
Text File  |  1996-08-05  |  817 b   |  23 lines

  1. Newsgroups: comp.lang.c++
  2. Path: uucp-1.csn.net!slimer!bgeerdes
  3. From: bgeerdes@igs.com (Bruce Geerdes)
  4. Subject: Re: String search/replace code?
  5. Message-ID: <1996Mar12.214437.6494@igs.com>
  6. Organization: Igs, Inc.
  7. X-Newsreader: TIN [version 1.2 PL2]
  8. References: <4i430v$pif@camelot.ccs.neu.edu>
  9. Date: Tue, 12 Mar 96 21:44:37 GMT
  10.  
  11. Donald A Dwoske (dwoske@ccs.neu.edu) wrote:
  12. >Does anyone have code/class that does string search/replace?
  13. >I want to replace all occurences of a string with another string.
  14. [...]
  15. >One routine/one class is all I need.  We are using RogueWave 6.1 and
  16. >it apparently does not have such a beast
  17.  
  18. You can do string search/replace in Rogue Wave using RWCRegexp.  There is an
  19. example at the beginning of the RWCString section (pages 44-1 and 44-2 in
  20. my book).
  21. -- 
  22. bgeerdes@igs.com (Bruce Geerdes)
  23.